import { http } from '@/utils/http/axios';

/**
 * @description: 详情
 */
export function webconfiginfo(params) {
    return http.request({
        url: '/webconfig/info',
        method: 'GET',
        params
    });
}

/**
 * @description: 登录页详情
 */
export function webconfiginfodl(params) {
    return http.request({
        url: '/xcx/webconfig',
        method: 'GET',
        params
    });
}

/**
 * 编辑
 */
export function webconfigEdit(params) {
    return http.request({
        url: '/webconfig/edit',
        method: 'POST',
        params
    })
}

//设备配置详情
export function deviceconfiginfo(params) {
    return http.request({
        url: '/webconfig/deviceconfiginfo',
        method: 'GET',
        params
    });
}

//设备配置编辑
export function deviceconfigEdit(params) {
    return http.request({
        url: '/webconfig/deviceconfigedit',
        method: 'POST',
        params
    });
}

//快充充电宝详情
export function deviceconfiginfo1(params) {
    return http.request({
        url: '/webconfig/deviceconfiginfo1',
        method: 'GET',
        params
    });
}

//快充充电宝编辑
export function deviceconfigEdit1(params) {
    return http.request({
        url: '/webconfig/deviceconfigedit',
        method: 'POST',
        params
    });
}


/**
 * cos配置信息修改
 */
export function cosconfigEdit(params) {
    return http.request({
        url: '/webconfig/cosconfigedit',
        method: 'POST',
        params
    })
}

/**
 * cos配置信息查询
 */
export function cosconfigInfo(params) {
    return http.request({
        url: '/webconfig/cosconfiginfo',
        method: 'POST',
        params
    })
}

